package org.lc.stk.service.question;

import org.lc.stk.web.dto.question.JudgmentQuestionDTO;

/**
 * 判断题服务接口
 */
public interface JudgmentQuestionService extends QuestionService<JudgmentQuestionDTO> {
    
    /**
     * 验证判断题答案有效性
     */
    boolean validateAnswer(JudgmentQuestionDTO questionDTO);
    
    @Override
    default boolean validate(JudgmentQuestionDTO dto) {
        return validateAnswer(dto);
    }
}